from django.contrib import admin
from models import Event, Reservation
from forms import EventAdminForm

class EventAdmin(admin.ModelAdmin):
    form = EventAdminForm
    
    class Media:
        js = ('scripts/tiny_mce/tiny_mce.js', 'scripts/tiny_mce_config/full.js')
admin.site.register(Event, EventAdmin)
admin.site.register(Reservation)